<%@ page language="java" contentType="text/html; charset=utf-8"
         pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>学生信息管理系统登录</title>
</head>
<style>
    a{
        color: black;
        text-decoration: none;
    }
</style>
<body>
<center><h3>铜仁学院--锡纸炎--学生学籍信息管理系统(教师入口)</h3></center>
<div align="center" style="padding-top: 50px;">
        <table  width="740" height="500" background="images/login3.jpg" >
           <form action="teacherLogin" method="get" >
            <tr height="180">
                <td colspan="4"></td>
            </tr>
            <tr height="10">
                <td width="40%"></td>
                <td width="10%">用户名：</td>
                <td><input size="15" type="text" value="${userName }" name="userName" id="userName"/></td>
                <td width="30%"></td>
            </tr>
            <tr height="10">
                <td width="40%"></td>
                <td width="10%">密  码：</td>
                <td><input size="15" type="password" value="${password}" name="password" id="password"/></td>
                <td width="30%"></td>
            </tr>
            <tr height="10">
                <td width="30%"></td>
                    <td width="10%"><input  type="submit" value="登录"/></td>
                <td width="30%"></td>
            </tr>
          </form>
            <tr height="10">
                <td width="10%">
                </td>
                <td>
                    <button>
                        <a href="toFindPwd">
                            找回密码
                        </a>
                    </button>

                </td>
                <td>
                    <button>
                        <a href="backIndex">
                            返回登录首页
                        </a>
                    </button>
                </td>
                <td width="20%"></td>
            </tr>
            <tr height="10">
                <td width="40%"></td>
                <td colspan="3">
                    <font color="red">${error }</font>
                </td>
            </tr>
            <tr >
                <td></td>
            </tr>
        </table>

</div>

<div style="text-align: left;font-size: 38px;color: green;font-style: inherit;">
    当前时间：<input id="now_time" type="button" >
</div>
<script>
    var now_time=document.getElementById('now_time');
    window.onload=function(){
        //每1秒刷新时间
        setInterval("NowTime()",1000);
    }
    function NowTime(){
        var time = new Date();
        now_time.value=time.toLocaleString( );
    }
</script>
</body>
</html>